package br.com.iswe.gwt.ui.client;

import br.com.iswe.core.entidades.gwt.BeanMap;

public class BuildOptionHandler{

	public String getLabel(ListBoxInfo info, BeanMap bean) {
		return bean.getString(info.getItem());
	}

	public String getValue(ListBoxInfo info, BeanMap bean) {
		return bean.getString(info.getValue());
	}

	public boolean shouldCreateItem(BeanMap bean) {
		return true;//default behavior
	}

	public boolean createFirstEmptyItem() {
		return true;//default behavior
	}
	
}